// import bus from "@/bus";
import { formatDate } from '@/util';
let data = {
  status: 'pass',
  totalItem: 1,
  pageSize: window.$pageSize,
  currentPage: 1,
  form: {
    // storeId: null,
    // areaId: null,
    // cityId: null,
    // provinceId: null,
    // distributorId: null,
    endPayDate: formatDate(new Date()) + ' 23:59:59',
    startPayDate: formatDate(new Date(new Date().getTime() - (14*86400000))) + ' 00:00:00',
  },
  columns: [{
    title: '中策订单号',
    key: 'purchOrderSn',
    align: 'left',
  }, {
    title: '支付流水号',
    key: 'thirdPaySn',
    align: 'left',
  }, {
    title: '交易时间',
    key: 'payFinishDate',
    align: 'left',
  }, {
    title: '支付方式',
    key: 'payType',
    align: 'left',
    render: (h, params) => {
      let row = params.row
      let text = row.payType
      let x
      switch (text) {
        case 30:
          x = '银行卡'
          break
        case 31:
          x = '微信'
          break
        case 32:
          x = '支付宝'
          break
        case 33:
          x = '云闪付'
          break
      }
      return h('div', x)
    }
  }, {
    title: '金额（元）',
    key: 'paymentAmount',
    align: 'left',
  }, {
    title: '手续费（元）',
    key: 'paymentFee',
    align: 'left',
  }, {
    title: '科室',
    key: 'parentDeptName',
    align: 'left',
  },{
    title: '地区',
    key: 'deptName',
    align: 'left',
  },{
    title: '经销商',
    key: 'distributorName',
    align: 'left',
  },{
    title: '门店',
    key: 'storeName',
    align: 'left',
  },{
    title: '门店联系人',
    key: 'storeContact',
    align: 'left',
  },{
    title: '门店电话',
    key: 'storeContactPhone',
    align: 'left',
  }],
  data: [{}]
}
export default data;
